package com.cloud.report.api.entity;

import javax.persistence.*;

@Table(name = "query_role")
public class QueryRole {
    @Id
    @Column(name = "query_id")
    private Long queryId;

    @Id
    @Column(name = "role_id")
    private Long roleId;

    /**
     * @return query_id
     */
    public Long getQueryId() {
        return queryId;
    }

    /**
     * @param queryId
     */
    public void setQueryId(Long queryId) {
        this.queryId = queryId;
    }

    /**
     * @return role_id
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}